.zd-input {
  width: 100%;
  position: relative;
  display: inline-block;
}

.zd-input__inner {
  -webkit-appearance: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid rgba(120,130,140,.25);
  box-sizing: border-box;
  display: inline-block;
  color: #55595c;
  font-size: .85rem;
  line-height: 1.5;
  height: 32px;
  outline: none;
  padding: .275rem .75rem;
  transition: border-color .2s cubic-bezier(.645, .045, .355, 1);
  width: 100%;
}

.zd-input--suffix .zd-input__inner {
  padding-right: 32px;
}

.zd-input__suffix {
  position: absolute;
  height: 100%;
  right: 5px;
  top: 0;
  text-align: center;
  color: #c0c4cc;
  transition: all .3s;
  pointer-events: none;
}

.zd-input__suffix-inner {
  pointer-events: all;

}

.zd-cascader-wrap .zd-input__inner {
  text-overflow: ellipsis;
}

.zd-input__icon {
  height: 100%;
  text-align: center;
  width: 25px;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: baseline;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.zd-input__icon.zd-icon-arrow-down {
  transition: transform .3s;
  font-size: 13px;
}

.zd-input__icon.zd-icon-arrow-right {
  transition: transform .3s;
  font-size: 13px;
  transform: rotate(270deg);
}

.zd-cascader-wrap {
  width: 100%;
  height: 40px;
  line-height: 40px;
  position: relative;
  display: inline-block;
  font-size: 13px;
}

.zd-cascader__dropdown {
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 2009;
  margin: 5px 0;
  margin-bottom: 12px;
  font-size: 13px;
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
  display: none;
}

.zd-cascader-panel {
  display: flex;
  border-radius: 4px;
  font-size: 13px;
}

.zd-scrollbar {
  overflow: hidden;
  position: relative;
}

.zd-scrollbar__wrap {
  overflow-y: auto;
  height: 100%;

}

.zd-cascader-menu {
  min-width: 160px;
  box-sizing: border-box;
  color: #606266;
  border-right: 1px solid #e4e7ed;
}

.zd-cascader-menu:last-child {

  border-right: none;

}

.zd-cascader-menu__wrap {
  height: 204px;

}

.zd-cascader-menu__list {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  box-sizing: border-box;
}

.zd-cascader-node {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 32px 0 20px;
  height: 34px;
  line-height: 34px;
  outline: none;
}

.zd-cascader-node:not(.is-disabled) {
  cursor: pointer;
}

.zd-cascader-node__label {
  flex: 1;
  padding: 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zd-cascader-node__postfix {
  position: absolute;
  right: 10px;
}

.zd-cascader-node:not(.is-disabled):focus,
.zd-cascader-node:not(.is-disabled):hover,
.zd-cascader-node:not(.is-disabled).is-prepare {
  background: #f5f7fa;
}

.zd-cascader-node.in-active-path,
.zd-cascader-node.is-active,
.zd-cascader-node.is-selectable.in-checked-path {
  color: #166bc7;
  font-weight: 700;
}

.zd-cascader-node.in-active-path .zd-input__icon path,
.zd-cascader-node.is-active .zd-input__icon path,
.zd-cascader-node.is-selectable.in-checked-path .zd-input__icon path {
  fill: #166bc7;
}

.zd-cascader-wrap:not(.is-disabled):hover .zd-input__inner {
  cursor: pointer;
  border-color: #c0c4cc;
}

.zd-cascader-wrap.is-focus .zd-input .zd-input__inner {
  border-color: rgba(120,130,140,.25);
}

.zd-cascader-wrap.is-focus .zd-input .zd-input__icon {
  transform: rotate(180deg);
}

.zd-cascader-wrap.is-focus .zd-cascader__dropdown {
  display: inline-block;
}

.zd-cascader-wrap:focus-within .zd-input__inner {
  border-color: rgba(120,130,140,.25);
}

.is-selected-icon {
  position: absolute;
  left: 10px;
  font-size: 13px;
  top: 1px;
  display: none;
}

.zd-cascader-node.in-active-path .is-selected-icon {
  display: inline-block;
}
